/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View, ScrollView,Alert} from 'react-native';
// Alert.alert(
//     '提示',
//     'zzy',
//     [
//       {text: '取消', onPress: ()=> console.log('Cancel Pressed'), style: 'cancel'},
//       {text: '确认', onPress: ()=> console.log('OK Pressed')},
//     ]
// )

const instructions = Platform.select({
  ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
  android:
    'Double tap R on your keyboard to reload,\n' +
    'Shake or press menu button for dev menu',
});

type Props = {};
export default class about extends Component<Props> {
  static navigationOptions=({navigation,navigationOptions}) => {
    return {
      title: navigation.getParam('title'),
    }
  };
  render() {
    return (
        <ScrollView style={styles.container}>
          <Text style={styles.text}>如果问题,请联系: wlhmyit@126.com</Text>
        </ScrollView>
    );
  }
}

const styles = StyleSheet.create({
  container:{
    flex: 1
  },
  text:{
    fontSize:16,
    fontWeight:'300',
    marginBottom:15,
    marginLeft:10,
    marginTop:3
  }
});
